<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>

<head>
<link HREF="mailto:drh@microsoft.com" REV="made" TITLE="David R. Hanson">
<title>cdb, A Machine-Independent Debugger</title>
</head>

<body>

<table border="1" width="100%" bgcolor="#FFFF66"
style="font-family: Verdana, sans-serif; font-size: smaller" cellpadding="0"
cellspacing="0">
  <tr>
    <td><a title="Princeton CS Home Page" href="http://www.cs.princeton.edu/">Princeton CS</a>
    <img src="images/arrow.gif" alt=":" WIDTH="13" HEIGHT="9"> <a
    href="http://www.cs.princeton.edu/software/" title="Princeton CS Software">Software</a> <img
    src="images/arrow.gif" alt=":" WIDTH="13" HEIGHT="9"> <a
    href="http://www.cs.princeton.edu/software/lcc/">lcc, A Retargetable C Compiler</a> <img
    src="images/arrow.gif" alt=":" WIDTH="13" HEIGHT="9"> cdb, A Machine-Independent Debugger</td>
  </tr>
</table>

<h1>cdb, A Machine-Independent Debugger</h1>

<p>cdb is a machine-independent debugger for C programs compiled by <a
href="http://www.cs.princeton.edu/software/lcc/">lcc</a> 4.x, a retargetable compiler for
ANSI/ISO Standard C. The original version of cdb is described in the paper</p>

<blockquote>
  <p>D. R. Hanson and M. Raghavachari, A Machine-Independent Debugger,<br>
  <cite>Software&#151;Practice and Experience</cite>&nbsp;<strong>26</strong> (11),
  1277-1299, Nov. 1996. <a href="http://www.research.microsoft.com/~drh/pubs/cdb.pdf"><img
  src="images/pdficonsmall.gif" align="ABSMIDDLE" width="20" height="24" alt="PDF"></a> (355
  KB); Talk slides <a href="http://www.research.microsoft.com/~drh/pubs/cdbtalk.pdf"><img
  src="images/pdficonsmall.gif" align="ABSMIDDLE" width="22" height="24" alt="PDF"></a>
  (110KB)</p>
</blockquote>

<p>The latest version, 3.1, is described in</p>

<blockquote>
  <p>D. R. Hanson, A Machine-Independent Debugger&#151;Revisited,<br>
  <cite>Software&#151;Practice and Experience</cite> <b>29</b> (10), 849-862,
  Aug. 1999. <a href="http://www.research.microsoft.com/~drh/pubs/cdb3.pdf"><img
  src="images/pdficonsmall.gif" align="ABSMIDDLE" width="20" height="24" alt="PDF"></a>
  (67
  KB)</p>
</blockquote>

<p>Here's what else is available: 

<ul>
  <li><a href="ftp://ftp.cs.princeton.edu/pub/people/drh/cdb31.zip">cdb 3.1 distribution</a>
    (ZIP file, 41KB). <a href="3.1/readme.html">Description and installation instructions</a>.</li>
  <li>cdb 3.1 <a HREF="3.1/">source code</a>.</li>
  <li><a href="ftp://ftp.cs.princeton.edu/pub/people/drh/cdb22.zip">cdb 2.2 distribution</a>
    (ZIP file, 40KB). <a href="2.2/README">Description and installation instructions</a>.</li>
  <li><a href="2.x.html">Implementation differences</a> between cdb 2.x and the implementation
    described in &quot;A Machine-Independent Debugger&quot;.</li>
  <li>cdb 2.2 <a HREF="2.2/">source code</a>.</li>
  <li>Related pages: <a href="http://www.cs.princeton.edu/~jlk/deet/">deet</a>, <a
    href="http://www.cs.virginia.edu/~nr/ldb/">ldb</a>.</li>
</ul>

<hr>

<address>
  <a HREF="http://www.research.microsoft.com/~drh/">David Hanson</a> / <a
  HREF="mailto:drh@microsoft.com">drh@microsoft.com</a><br>
  $Revision: 1.9 $ $Date: 2007-05-26 13:34:08 +0000 (Sat, 26 May 2007) $ 
</address>
</body>
</html>